package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.common.core.domain.AjaxResult;
import com.ly.heart.domain.WarehouseMaxMinInventoryEntity;

/**
 * 仓库最大最小安全库存Service接口
 *
 * @author cxl
 * @date 2024-07-26
 */
public interface IWarehouseMaxMinInventoryService extends IService<WarehouseMaxMinInventoryEntity> {
    /**
     * 查询仓库最大最小安全库存
     *
     * @param id 仓库最大最小安全库存ID
     * @return 仓库最大最小安全库存
     */
    public WarehouseMaxMinInventoryEntity selectWarehouseMaxMinInventoryEntityById(String id);

    /**
     * 查询仓库最大最小安全库存列表
     *
     * @param warehouseMaxMinInventoryEntity 仓库最大最小安全库存
     * @return 仓库最大最小安全库存集合
     */
    AjaxResult selectWarehouseMaxMinInventoryEntityList(WarehouseMaxMinInventoryEntity warehouseMaxMinInventoryEntity);

    /**
     * 新增仓库最大最小安全库存
     *
     * @param warehouseMaxMinInventoryEntity 仓库最大最小安全库存
     * @return 结果
     */
    public int insertWarehouseMaxMinInventoryEntity(WarehouseMaxMinInventoryEntity warehouseMaxMinInventoryEntity);

    /**
     * 修改仓库最大最小安全库存
     *
     * @param warehouseMaxMinInventoryEntity 仓库最大最小安全库存
     * @return 结果
     */
    public int updateWarehouseMaxMinInventoryEntity(WarehouseMaxMinInventoryEntity warehouseMaxMinInventoryEntity);

    /**
     * 批量删除仓库最大最小安全库存
     *
     * @param ids 需要删除的仓库最大最小安全库存ID
     * @return 结果
     */
    public int deleteWarehouseMaxMinInventoryEntityByIds(String[] ids);

    /**
     * 删除仓库最大最小安全库存信息
     *
     * @param id 仓库最大最小安全库存ID
     * @return 结果
     */
    public int deleteWarehouseMaxMinInventoryEntityById(String id);
}
